from django.contrib import admin

# Register your models here.
from .models import *

@admin.register(AdGroup)
class AdGroupTeleAdmin(admin.ModelAdmin):
    list_display = ('id','name','star_time','last_time','isDelete')

@admin.register(AdData)
class AdDataTeleAdmin(admin.ModelAdmin):
    list_display = ('id','name','img','url','ClassID','star_time','last_time','isDelete')

